package com.zhangh.summer.admin.support.multipleds;

public interface IDynamicDataSource {
    /**
     * 添加普通数据源
     * @param dsName
     * @throws Exception
     */
    public void addDsByDsName(String dsName) throws Exception;

    /**
     * 通过配置添加数据源
     * @param config
     * @throws Exception
     */

    public void addDsByDatabaseConfig(DatabaseConfig config) throws Exception;

}
